import './product.css';
import {getData} from 'api/getData';
import {URL,indexProduct} from './config';
import render from './product.art';
getData(URL).then((data)=>{
    indexProduct.innerHTML=render({items:data});
})